package com.css.zfzx.fxpg.modules.vulnerability.province.repository;

import com.css.zfzx.fxpg.modules.vulnerability.province.repository.entity.FxVulnerabilityProvinceEntity;
import com.css.zfzx.fxpg.modules.vulnerability.province.viewobjects.FxVulnerabilityProvinceQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-10
 */
public interface FxVulnerabilityProvinceNativeRepository {

    Page<FxVulnerabilityProvinceEntity> queryFxVulnerabilityProvinces(FxVulnerabilityProvinceQueryParams queryParams, int curPage, int pageSize);

    List<FxVulnerabilityProvinceEntity> listFxVulnerabilityProvinces(FxVulnerabilityProvinceQueryParams queryParams);

}
